﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace CarHelpDesk.Web.Models
{
    [MetadataType(typeof(AnswerMetaData))]
    public partial class Answer
    {
    
    }

    /// <summary>
    /// Metadata for Answer
    /// </summary>
    public class AnswerMetaData
    {
        [DisplayName("Съдържание")]
        [Required(ErrorMessage = "Съдържанието не може да е празно")]
        public string Content { get; set; }

        [DisplayName("Дата")]
        [Required]
        public string CreateDate { get; set; }
    }
}
